#ifndef __CCMS_NR_EXCEPTION_H__
#define __CCMS_NR_EXCEPTION_H__

/**
 * @file ccms/nr/exception.h
 *
 * Exception classes header file.
 */

#include <exception>

#include "arlib/exception/base_exception.h"

namespace ccms {
namespace nr {

/**
 * ProcessDoesNotExistException class, thrown if a process identified by a PID
 * passed to a function does not exist.
 */
class ProcessDoesNotExistException : public arlib::exception::BaseException
{
    public:
        /**
         * Default constructor.
         * @param message - cause of the exception
         */
        ProcessDoesNotExistException(const char* const file, const int line) : BaseException(file, line) {}
};

} // namespace nr
} // namespace ccms

#endif /* __CCMS_NR_EXCEPTION__ */
